/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package task06;

/**
 *
 * @author Administrator
 */
public class Task01Test {

    public static void displayString(String[] msg){
        boolean flag = true;
        for(String s : msg){
            if(s==""){
                System.out.println("该字符串包含有空字符串！");
                flag = false;
                break;
            }
        }
        if(flag){
            System.out.println("该数组不包含空字符串！");
        }
    }
    public static void main(String[] args) {
        String[] msg = {"how","","are","you"};        
        displayString(msg);
        
        
        
    }
    
}
